Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard against methods-terms as sub-categories #89

Merged

Conversation

danielhuppmann
Copy link
Member

In #55, we agreed to use square brackets to identify methods or operations, e.g. ... [Share] instead of the previously used subcategories like ...|Share.

This PR adds a test to guard against adding subcategory-methods-variables in the future and renames one variable from the SDG domain.

fyi @IAMconsortium/common-definitions-sdg-indicators

@danielhuppmann danielhuppmann self-assigned this Apr 8, 2024
Copy link
Contributor

@phackstock phackstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me in principle, three comments below in line.

definitions/variable/sdg-indicators/sdg.yaml Show resolved Hide resolved
tests/test_reserved_terms.py Show resolved Hide resolved
tests/test_reserved_terms.py Outdated Show resolved Hide resolved
@danielhuppmann danielhuppmann merged commit f582737 into IAMconsortium:main Apr 11, 2024
3 checks passed
@danielhuppmann danielhuppmann deleted the variable/guard-reserved-words branch April 11, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants